package com.lvmama.pangolin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lvmama.pangolin.entity.Convert_Log_Model;
import com.lvmama.pangolin.mybatis.mapper.ConvertLogMapper;
import com.lvmama.pangolin.service.ConvertLogService;
@Transactional
@Service
public class ConvertLogServiceImpl implements ConvertLogService{
	/**  
	* @Title：ConvertLogServiceImpl.java
	* @Author:zhoutianqi
	* @Description:
	* @Date：2017年2月16日下午5:45:07  
	*/
	@Autowired
	private ConvertLogMapper convertLogMapper;
	@Override
	public int insertLog(Convert_Log_Model log) throws Exception {
		// TODO Auto-generated method stub
		return convertLogMapper.insertLog(log);
	}
	/**
	 * 
	*/
	public Convert_Log_Model queryLogByID(String id){
		return convertLogMapper.queryLogByID(id);
	}
}
